function MainScene(game){
	this.game = game;
}

MainScene.prototype.step = function(){
	if (this.game.keys[65] == 1){ //A
		//this.game.scene = new CharacterCreation(this.game);
		this.game.scene = null;
		this.game.map = new Map(this.game);
		this.game.maps = [this.game.map];
		this.game.keys[65] = 2;
		this.game.lastTime = 0;
	}
};

MainScene.prototype.draw = function(){
	var ctx = this.game.eng.ctx;
	var cw = ctx.width / 2;
	
	ctx.fillStyle = "black";
	ctx.fillRect(0,0,this.game.viewport.a,this.game.viewport.b);
	
	ctx.fillStyle = "white";
	ctx.textAlign = "center";
	ctx.fillText("Berkhro Hunters", cw, 150);
	
	ctx.fillText("a) To start a new Game.", cw, 250);
	
	ctx.fillText("Developed by Jucarave - 2014", cw, ctx.height - 10);
};

MainScene.prototype.loop = function(){
	this.step();
	this.draw();
};